/**
 * 反馈类型定义
 */
export interface FeedbackType {
  id: number
  userId: number
  userName: string
  userAvatar?: string
  type: number
  content: string
  contactInfo?: string
  images?: string[]
  state: number
  adminReply?: string
  createTime?: string
  updateTime?: string
}

/**
 * 反馈类型枚举
 */
export enum FeedbackTypeEnum {
  BUG = '系统Bug',
  SUGGESTION = '功能建议',
  COMPLAINT = '投诉',
  QUESTION = '咨询',
  OTHER = '其他'
}

/**
 * 反馈状态枚举
 */
export enum FeedbackStatusEnum {
  PENDING = '待处理',
  PROCESSING = '处理中',
  REPLIED = '已回复',
  CLOSED = '已关闭'
}

/**
 * 反馈来源枚举
 */
export enum FeedbackSourceEnum {
  PROGRAM = '小程序',
  BACKSTAGE = 'PC后台',
  WEBSITE = '官网'
}
